package com.fili.core.svn.components;

import com.fili.core.svn.SvnEntry;

import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.DefaultTreeCellRenderer;
import javax.swing.*;
import java.awt.*;

/**
 * Created by Claudiu-Florin FILIMON
 * Date: Oct 19, 2006
 * Time: 5:56:04 PM
 * Revision: 0
 */
public class SvnTreeRenderer extends DefaultTreeCellRenderer
{
    public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus)
    {
//        super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus);

        return new CheckLabel(tree, value, sel, expanded, leaf, row, hasFocus);
    }
}
